package com.atguigu.springcloud.service;

import com.atguigu.springcloud.pojo.Employee;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Collection;

@FeignClient("consul-provider-payment-8002")
public interface LoginService {


    @GetMapping("payment/user/list")
    Collection<Employee> list();
}
